[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FILL EMPTY variable is filled if empty:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Syntax:
~~~~~~~

  FILL EMPTY <Var1> := <Value1> [, <VarN> := <ValueN> ]

Description:
~~~~~~~~~~~~
If the expresion Empty(<Var1>) is true the <Var1> is assigned the <Value1>.
This is performed for all variables and their values.

Example:
~~~~~~~~

  FILL EMPTY A:=11, B:=22, C:=33

can be rewritten:

  IF EMPTY(A)
    A:=11
  END
  IF EMPTY(B)
    B:=22
  END
  IF EMPTY(C)
    C:=33
  ENDIF


Source file is Object.ch

See Also: DEFAULT STORE VALUE
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson